package net.wofly.sale.order.domain;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 订单的活动(创建订单时记录)
 *
 * @author LiuJianbo
 * @version 1.0
 * @created 05-5月-2018 19:22:25
 */
@Data
@Entity
@Table(name = "sale_order_orderactivity")
@ApiModel(description = "订单的活动(创建订单时记录)")
public class OrderActivity {
    /**
     * 主键
     */
    @Id
    private String orderActivityID;
    
    /**
     * 活动ID
     */
    private String activityID;
    private Long modifyDate;
    /**
     * 订单ID
     */
    private String orderID;
    /**
     * 关联类型	 1:订单  2:订单内商品
     */
    private Integer relateType;
    
    private String orderContentID;
    
    public OrderActivity() {
    
    }
    
    @Override
    public void finalize() throws Throwable {
    
    }
}